package com.dily.study.demo.entity.mybatisPlus;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dily.study.demo.entity.mybatisPlus.enumdemo.GradeEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * Date: 2022-03-09 星期三
 * Time: 14:29
 * Author: Dily_Su
 * Remark:
 */

@Data
@TableName("student")
public class Student implements Serializable {
    private static final long serialVersionUID = 7011752983426204134L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String sex;

    private GradeEnum grade;

}
